
document.writeln("<style>");
document.writeln(".float_container{z-index: 99999999999999999;transform: translateZ(1000px);display: none;position: fixed;width: 100%; max-width: 640px; left: auto; right:auto;bottom: 0; background: #eeeeee;}");
document.writeln(".db{display: block}");
document.writeln(".float_container .title_talk{ width: 100%; height:34px; line-height: 30px; background: #9b4dfc; position: relative;}");
document.writeln(".title_talk a{display: block; color:#ffffff; text-decoration:none; margin:0; font-size: 16px; line-height: 32px; text-align: center;}");
document.writeln(".title_talk img{ width: 6%; border-radius: 50%; border:1px solid #fff; position: absolute; right: 2%; top: 14%; padding: 1%;}");
document.writeln(".float_container dl{display: none; margin-bottom:0px; transiton: all .3s linear 0s}");
document.writeln(".float_container dt{display: inline-block;width: 14%;float: left;margin: 21px 0 0 8px;text-align: center}");
document.writeln(".float_container dt img{max-width: 90%; overflow: hidden; width: 100%;float: right; border-radius: 50%;}");
document.writeln(".float_container dd{margin: 0;display: inline-block;position: relative;width: 80%;float: left;margin-bottom: 0%; margin-top:2%;}");
document.writeln(".float_container .time{font-size:12px;line-height: 1.6; color: #333;text-align: center;}");
document.writeln(".float_container .xinbox{color: #000;position: relative;margin-left: 5%;padding: 10px;border-radius: 3px; background: #fff; letter-spacing: -1px;font-size:24px;line-height:0.9; border-radius: 10px;}");
document.writeln(".float_container .xinbox img{width: 8%;vertical-align: bottom; margin-bottom:0.1rem; }");
document.writeln(".float_container .xinbox a{ line-height:1.5; text-decoration: none; font-size: 13px; color: #000}");
document.writeln(".smaburn{ width: 100%; float: left; background: #fff; padding-top: 2.5%; margin-top: 3%;padding-bottom: 2.5%;}");
document.writeln(".smaburn p{ font-size: 15px; color: #000; padding-left: 2%;}");
document.writeln(".smaburn p a{ font-size: 15px; text-decoration: underline; color: #000}");
document.writeln(".smaburn p a img{display: inline-block; width: 4%; margin-top: 0%; margin-right: 1%;}");
document.writeln(".mgskl{ width: 94%; margin: 0 auto;  margin-top: 15px;}");
document.writeln(".mgskl a{ width: 20%; padding:1.6% 2%;margin:0; margin-left: 2%; border-radius: 8px;box-sizing:content-box; font-size: 16px; color: #fff; text-align: center; background: #7471e5; float: left; position: relative; }");
document.writeln(".mgskl a:hover{ text-decoration: none;box-sizing:content-box;}");
document.writeln("#hfnum{ font-size: 12px;  width:15px; height:15px; line-height:15px; border-radius: 50%; background: red; position: absolute; right: 2%; top: -15%;}");
document.writeln(".jtgmc{ width: 2% !important; margin-top: 2.5%; margin-left: 0.5%;}");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(".tpprice{ width: 90%;padding: 4%; margin-top: 3%; margin-left: 5%;  float: left; background: #fff; border-radius: 0.6rem; overflow: hidden; display: none;}");
document.writeln(".tpprice h6{ font-size: 16px; margin: 0; margin-bottom: 2%; padding-left: 2%; border-left: 2px solid #000; line-height: 18px;}");
document.writeln(".tpprice ul{ width: 100%; float: left; margin: 0;}");
document.writeln(".tpprice ul li{ width: 49%; height: 12%;  float: left; margin-bottom: 2%; margin-left: 2%; background: url(http://m.hanfeizx.com/templets/phone/images/xin_swt/dj.png) no-repeat; background-size: 100% 100%; text-align: center;}");
document.writeln(".tpprice ul li:nth-child(1),.tpprice ul li:nth-child(3){ margin-left: 0px;}");
document.writeln(".tpprice ul li p{ color:#fff; margin: 0; font-size: 15px; line-height: 18px; padding-top: 8%; padding-bottom:5%}");
document.writeln(".tpprice ul li p span{ color:#fff; margin: 0; font-size: 19px; line-height: 20px; padding-top: 2%; display: inline-block;}");

document.writeln(".tpcase{ width: 90%; padding: 4%; margin-top: 1%; margin-left: 5%; float: left; background: #fff; border-radius: 0.6rem; overflow: hidden; display: none;}");
document.writeln(".tpcase h6{ font-size: 16px; margin: 0; margin-bottom: 2%; padding-left: 2%; border-left: 2px solid #000; line-height: 18px;}");
document.writeln(".tpcase img{ width: 100%;}");
document.writeln(".m_buiin{ font-size: 0.96rem; color:#000; line-height: 1rem; padding-top: 0.2rem}");
document.writeln("");
document.writeln(".msinu{ width:73%; float:left;height:35px;overflow:hidden;border:1px solid #ddd; border-radius:1px; }");
document.writeln(".msinu p{ width:100%; float:left;height:35px; margin:0; font-size: 15px; color:#444; line-height: 35px;animation:swttyping 4s steps(11,end) infinite,blink-caret .5s step-end infinite alternate}");
document.writeln("@keyframes swttyping{0%{width:0}25%{width:35ch}100%{width:35ch}}");
document.writeln("@keyframes blink-caret{50%{border-color:transparent}}");
document.writeln("@-webkit-keyframes anim1{0%{top:0;opacity:1}100%{top:-100px;opacity:1}}");
document.writeln("");
document.writeln("@media screen and (max-width:375px){");
document.writeln(" .smaburn p{ font-size: 13px;}");
document.writeln(" .smaburn p a{ font-size: 13px;}");
document.writeln(" .smaburn p a img{ margin-top: 0%;}");
document.writeln("}");
document.writeln("");
document.writeln("@media screen and (min-width:480px){");
document.writeln(" .smaburn p{ font-size: 12px;}");
document.writeln(" .smaburn p a{ font-size: 12px;}");
document.writeln(" .smaburn p a img{ margin-top: 0%;}");
document.writeln("}");
document.writeln("");
document.writeln("@media screen and (min-width:640px){");
document.writeln(" .float_container .title_talk{ width: 100%; height:60px; }");
document.writeln(" .title_talk a{display: block; color:#ffffff; text-decoration:none;  font-size: 24px; line-height: 65px;}");
document.writeln(" .float_container .time{font-size:16px;line-height: 1.8;}");
document.writeln(" .float_container .xinbox a{ font-size: 20px;}");
document.writeln(" .float_container .xinbox img{ width: 8%;}");
document.writeln(" .float_container .xinbox{padding:3% 3%;}");
document.writeln(" .smaburn p{ font-size: 20px;}");
document.writeln(" .smaburn p a{ font-size: 20px;}");
document.writeln(" .smaburn p a img{ margin-top: 0%;}");
document.writeln(".tpprice h6,.tpcase h6{ font-size: 22px; margin: 0; margin-bottom: 1.5%; padding-left: 1%; border-left: 2px solid #000; line-height: 22px;}");
document.writeln(".tpprice ul li p{ color:#fff; margin: 0; font-size: 22px; line-height: 22px; }");
document.writeln(".tpprice ul li p span{ color:#fff; margin: 0; font-size: 24px; line-height: 24px; padding-top: 2%; display: inline-block;}");
document.writeln("");
document.writeln(" .mgskl{ width: 94%; margin-top: 15px;}");
document.writeln(".mgskl a{ width: 16%; font-size: 19px;}");
document.writeln("#hfnum{ font-size:15px;  width:17px; height:17px; line-height:17px; border-radius: 50%; }");
document.writeln(".jtgmc{ width: 2% !important; margin-top: 1% !important; margin-left: 0.5%;}");
document.writeln("");
document.writeln(".msinu{ width:77%; float:left;height:50px;overflow:hidden;}");
document.writeln(".msinu p{ width:100%; float:left;height:50px; margin:0; font-size: 22px; line-height: 50px;}");
document.writeln(".tpprice ul li{ height: 20%; }");
document.writeln("");
document.writeln("}");
document.writeln("");
// 中间弹窗
document.writeln(".sjfcen{ width:280px; z-index: 99999999999999999;transform: translateZ(1000px); position:fixed; left:50%; margin-left:-140px;top:20%; border-radius:15px; overflow:hidden; display:none; box-shadow:1px 2px 10px 2px #514f4f;}");
document.writeln(".sjfcenColse{ width:40px; height: 40px; position:absolute; right:0px; top:0px;}");
document.writeln(".sfbotun{ width:100%; height: 40px; position:absolute; right:0px; bottom:0px;}");
document.writeln(".sfbotun a{ width:50%; height: 40px; float:left}");
// 中间弹窗
document.writeln("</style>");
document.writeln("");
document.writeln("");
// 中间弹窗
document.writeln("<div class=\"sjfcen\">");
document.writeln("<img src=\"http://m.hanfeizx.com/templets/phone/images/xin_swt/bi_hd20190503.png?jjj\" width=\"100%\">");
document.writeln("<div class=\"sjfcenColse\" onclick=\"sjfcenColse()\"></div>");
document.writeln("<div class=\"sfbotun\"><a href=\"tel:4006339553\"></a><a href=\"javascript:;\" onclick=\"swtClick('center_tanchuang')\"></a></div>");
document.writeln("</div>");
// 中间弹窗
document.writeln("<div id=\'footToolxs\' class=\'float_container\'>");
document.writeln("  <div class=\'title_talk\'>");
document.writeln("    <a >美鼻咨询 院长面对面</a>");
document.writeln("      <img src=\'http://m.hanfeizx.com/templets/phone/images/xin_swt/cl.png\' onclick=\'toolclose();\'>");
document.writeln("  </div>");
document.writeln("    <div style=\'clear:both\'></div>");
document.writeln("  <dl id=\'tools2\' onclick=\"swtClick('tuikuang')\" class=\'cf\'>");
document.writeln("    <dt>");
document.writeln("      <img id=\'doc1\' src=\'http://m.hanfeizx.com/templets/phone/images/xin_swt/kf.png\'>");
document.writeln("    </dt>");
document.writeln("    <dd>");
document.writeln("    <div style=\'clear:both\'></div>");
document.writeln("      <div id=\'swtnow1\' class=\'time\'>");
document.writeln("      </div>");
document.writeln("      <div class=\'xinbox\'>" );
document.writeln("        <img src=\'http://m.hanfeizx.com/templets/phone/images/xin_swt/smile.gif\' alt=\'smile\'>");
document.writeln("        <a href=\'javascript:void(0)\'>");
document.writeln("           关于隆鼻的问题，很荣幸为您解答。");
document.writeln("        </a>");
document.writeln("      </div>");
document.writeln("    </dd>  ");
document.writeln("    <div style=\'clear:both\'></div>");
document.writeln("  </dl>");
document.writeln("  <dl onclick=\"swtClick('tuikuang')\" id=\'tools3\' class=\'cf\'>");
document.writeln("    <dt>");
document.writeln("      <img id=\'doc2\' src=\'http://m.hanfeizx.com/templets/phone/images/xin_swt/kf.png\'>");
document.writeln("    </dt>");
document.writeln("    <dd>");
document.writeln("      <div id=\'swtnow2\' class=\'time\'>");
document.writeln("      </div>");
document.writeln("      <div class=\'xinbox\'>");
document.writeln("        <a href=\'javascript:;\' onclick=\"swtClick('tuikuang')\">");
document.writeln("          想了解什么呢？您请说~");
document.writeln("        </a>");
document.writeln("      </div>");
document.writeln("    </dd>");
document.writeln("  </dl>");
document.writeln("  <div style=\'clear:both\'></div>");
document.writeln("  <div onclick=\"swtClick('tuikuang')\" class=\'tpprice\'>");
document.writeln("    <h6>价格查询</h6>");
document.writeln("    <ul>");
document.writeln("      <li>");
document.writeln("        <p>假体隆鼻<br><span>￥1688</span></p>");
document.writeln("      </li>");
document.writeln("      <li>");
document.writeln("        <p>鼻综合<br><span>￥8000</span></p>");
document.writeln("      </li>");
document.writeln("      <li>");
document.writeln("        <p>半肋隆鼻<br><span>￥16800</span></p>");
document.writeln("      </li>");
document.writeln("      <li>");
document.writeln("        <p>更多限时抢购<br><span>点击查看</span></p>");
document.writeln("      </li>");
document.writeln("    </ul>");
// document.writeln("    <a href=\'javascript:;\' onclick=\'swtClick()\' class=\'m_buiin\'>限量领取...</a>");
document.writeln("  </div>");
document.writeln("  <div class=\'tpcase\' onclick=\"swtClick('tuikuang')\">");
document.writeln("    <h6>隆鼻案例</h6>");
document.writeln("    <img src=\'http://m.hanfeizx.com/templets/phone/images/xin_swt/case.png\' alt=\'\'>");
// document.writeln("    <a href=\'javascript:;\' onclick=\'swtClick()\' class=\'m_buiin\'>查看更多...</a>");
document.writeln("  </div>");
document.writeln("  <div style=\'clear:both\'></div>");
document.writeln("  <div class=\'smaburn\'>");
document.writeln("    <p>想问：");
document.writeln("      <a href=\'javascript:;\' onclick=\'son_price()\'><img src=\'http://m.hanfeizx.com/templets/phone/images/xin_swt/t2.png\' alt=\'\'>价格查询<img src=\'http://m.hanfeizx.com/templets/phone/images/xin_swt/jtt.png\' alt=\'\' class=\'jtgmc jtgmc1\'></a>");
document.writeln("      <a href=\'javascript:;\' onclick=\'son_case()\'><img src=\'http://m.hanfeizx.com/templets/phone/images/xin_swt/t3.png\' alt=\'\'>真实案例<img src=\'http://m.hanfeizx.com/templets/phone/images/xin_swt/jtt.png\' alt=\'\' class=\'jtgmc jtgmc2\'></a>");
document.writeln("      <a href=\'https://vipj17-hztk11.kuaishang.cn/bs/im.htm?cas=116139___679867&fi=118961&ism=1&sText=tuikuang\'><img src=\'http://m.hanfeizx.com/templets/phone/images/xin_swt/t4.png\' alt=\'\'>90%大家都在问</a>");
document.writeln("    </p>");
document.writeln("    <div class=\'mgskl\'>");
document.writeln("      <div class=\'msinu\' onclick=\"swtClick('tuikuang')\">");
document.writeln("            <p>请输入您的问题，10秒内快速获取答案！</p>");
document.writeln("      </div>");
document.writeln("        <a  href=\'javascript:;\' onclick=\"swtClick('tuikuang')\">");
document.writeln("          <font id=\'hfnum\' class=\'num\'>1</font>");
document.writeln("          <span>发送</span>");
document.writeln("        </a>");
document.writeln("      </div>");
document.writeln("    </div>");
document.writeln("  </div>");
document.writeln("</div>");
document.writeln("");

  // 中间弹窗
  function sjfcenColse(){
     $('.sjfcen').fadeOut(300)
     // setTimeout("myInterval()",10000);
  }
  $(function(){
    setTimeout("sjfcen()",10000);
  })
  function sjfcen(){
    $('.sjfcen').fadeIn(300)
  }
  // 中间弹窗

	function setTime(t){
		let start = new Date().getTime()
		let end = 0
		let timer = setInterval(function(){
			end = new Date().getTime()
			if((end-start)/1000>=t){
				myInterval2()
				myInterval()
				clearInterval(timer)
			}
		},30)
	}

	function otherKST(){
		toolclose()
		onKST('mobile',true)
	}		
 function toolclose(){    
	$('.float_container').css('display','none');
	$('#tools3').css('display','none'); //setTimeout("myInterval()",15000); 
	setTimeout("sjfcen()",18000);//1000为1秒钟
	setTime(10)
}

function myInterval2(){
$('#tools3').css('display','block');
}
function myInterval(){  
	$('.float_container').css('display','block');
	$('#tools2').css('display','block');
	setTimeout("myInterval2()",1000);//1000为1秒钟
}
 $(function(){
	 setTimeout("myInterval()",10000);//1000为1秒钟
function getDateWeek(obj) {if (obj < 10) return "0" + obj; else return obj;}
	//获取当前时间
	var now = new Date();
	var hh = now.getHours(); 
	var mm = now.getMinutes();
	var ss = now.getSeconds();
	var date1 = document.getElementById("swtnow1");
	var date2 = document.getElementById("swtnow2");
	date1.innerHTML = getDateWeek(hh) + ":" + getDateWeek(mm) + ":" + getDateWeek(ss);
	date2.innerHTML = getDateWeek(hh) + ":" + getDateWeek(mm) + ":" + getDateWeek(ss+2);          
})
function son_price(){
$('.tpprice').css('display','block');
$('.tpcase').css('display','none');
$('.jtgmc1').css('transform','rotate(180deg)');
$('.jtgmc2').css('transform','rotate(0deg)');
}
function son_case(){
$('.tpcase').css('display','block');
$('.tpprice').css('display','none');
$('.jtgmc2').css('transform','rotate(180deg)');
$('.jtgmc1').css('transform','rotate(0deg)');
}
var advisoryNum=document.getElementById('hfnum');
setInterval(function(){
  advisoryNum.innerHTML = advisoryNum.innerHTML++ > 4 ? 1 : advisoryNum.innerHTML++;
},2500)